package org.vehicle.dao;

import java.util.List;
import java.util.Map;

import org.vehicle.dao.base.BaseDaoMapper;
import org.vehicle.entity.TempPersonInfo;

public interface TempPersonInfoMapper extends BaseDaoMapper<TempPersonInfo, Long>{
    /**
     * 查询全部临时人员信息
     * @return
     */
	public List<TempPersonInfo> findAllTempPersonInfo();
	
	/**
	 * 通过设备标识删除人员信息
	 * @param deviceCode
	 */
	public void deleteTempPersonInfoByDeviceCode(String deviceCode);
	/**
	 * 通过身份证号和设备标识查询人员信息
	 * @return
	 */
	public TempPersonInfo findTempPersonByCertificateCodeAndDeviceCode(Map<String, Object> paraMap);
	
	/**
	 * 通过设备标识查询人脸数据
	 * @param deviceCode
	 * @return
	 */
	public List<Map<String, Object>> findPersonFaceDataListByDeviceCode(String deviceCode);
}